<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<meta name="format-detection" content="telephone=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
		<title></title>
		<link rel="stylesheet" type="text/css" href="../css/reset.css"/>
		<link rel="stylesheet" type="text/css" href="../css/swiper.min.css"/>
		<link rel="stylesheet" type="text/css" href="../css/main.css"/>
	</head>
	<body>
		<div class="container">
			<div class="bannerbox">
				<a href="javascript:;"><img src="../images/banner.jpg"/></a>
				<div class="searchbox row">
					<a href="city.html" class="placebox">海口</a>
					<a href="search.html" class="to-search row">
						<img src="../images/search.png"/>
						<span>买海南房，上我房网</span>
					</a>
				</div>
			</div>			 
			  <!--图标列表开始-->
			<div class="swiper-container" id="iconbox">
			    <div class="swiper-wrapper">
			      <a class="swiper-slide column">
			      	<img src="../images/hire.png"/>
			      	<span>二手房</span>
			      </a>
			      <a class="swiper-slide column">
			      	<img src="../images/newhouse.png"/>
			      	<span>新房</span>
			      </a>
			      <a class="swiper-slide column">
			      	<img src="../images/rent.png"/>
			      	<span>租房</span>
			      </a>
			      <a class="swiper-slide column">
			      	<img src="../images/map.png"/>
			      	<span>地图找房</span>
			      </a>
			      <a class="swiper-slide column">
			      	<img src="../images/area.png"/>
			      	<span>找小区</span>
			      </a>
			      <a class="swiper-slide column">
			      	<img src="../images/agent.png"/>
			      	<span>找经纪人</span>
			      </a>
			      <a class="swiper-slide column">
			      	<img src="../images/deposit.png"/>
			      	<span>委托找房</span>
			      </a>
			      <a class="swiper-slide column">
			      	<img src="../images/source.png"/>
			      	<span>登记房源</span>
			      </a>
			      <a class="swiper-slide column">
			      	<img src="../images/calculator.png"/>
			      	<span>房贷计算器</span>
			      </a>
			      <a class="swiper-slide column">
			      	<img src="../images/team.png"/>
			      	<span>看房团</span>
			      </a>
			      <a class="swiper-slide column">
			      	<img src="../images/ask.png"/>
			      	<span>问答</span>
			      </a>
			      <a class="swiper-slide column">
			      	<img src="../images/head.png"/>
			      	<span>房产头条</span>
			      </a>
			    </div>
			    <!-- Add Pagination -->
			    <div class="swiper-pagination"></div>
			  </div>			 
			  <!--图标列表结束-->
			  <!--我房头条开始-->
			  <div class="notice row">
			  	<img src="../images/headline.png"/>
				<ul id="jsfoot" class="noticTipTxt">
					<li class="row"><a href="#" target="_blank">重大消息!符合当时看了见风使舵，发快递就赶快点击大口径的恐惧感海口真实在售二手房海口真实在售二手房</a></li>
					<li class="row"><a href="#" target="_blank">海口真实在售二手房 100 套100 套海口真实在售二手房 100 套100 套</a></li>
					<li class="row"><a href="#" target="_blank">海口真实在售二手房 100 套实在售二手房 100 套海口真实在售二手房海口真实在售二手房</a></li>
					<li class="row"><a href="#" target="_blank">实在售二手房 100 套海口真实在售二手房海口真实在售二手房海口真实在售二手房 100 套海口真实在售二手房</a></li>
				</ul>
			</div>
			  <!--我房头条结束-->
			  <div class="block4"></div>
			  <!--热门滚动开始-->
			  <div class="swiper-container" id="hot">
			    <div class="swiper-wrapper">
			      <a class="swiper-slide">
			      	<img src="../images/pic01.png"/>
			      	<span>- 二手靓房 -</span>
			      </a>
			      <a class="swiper-slide">
			      	<img src="../images/pic02.png"/>
			      	<span>- 海景房 -</span>
			      </a>
			      <a class="swiper-slide">
			      	<img src="../images/pic03.png"/>
			      	<span>- 品牌地产 -</span>
			      </a>
			      <a class="swiper-slide">
			      	<img src="../images/pic04.png"/>
			      	<span>- 抢占黄金铺 -</span>
			      </a>
			      <a class="swiper-slide">
			      	<img src="../images/pic05.png"/>
			      	<span>- 特色别墅 -</span>
			      </a>
			      <a class="swiper-slide">
			      	<img src="../images/pic06.png"/>
			      	<span>- 温馨租房 -</span>
			      </a>
			      <a class="swiper-slide">
			      	<img src="../images/pic07.png"/>
			      	<span>- 新房TOP -</span>
			      </a>
			    </div>
			  </div>
			  <!--热门滚动结束-->
			  <div class="block4"></div>
			  <!--推荐开始-->
			  <div class="recommonbox">
			  	<div class="re-typebox row">
			  		<h1>为您推荐</h1>
			  		<div class="re-type">
			  			<a href="javascript:;" class="on" onclick="clicktype(this)">二手房</a>
			  			<a href="javascript:;" onclick="clicktype(this)">新房</a>
			  			<a href="javascript:;" onclick="clicktype(this)">租房</a>
			  		</div>
			  	</div>
			  	<!--二手房-->
			  	<div class="re-conbox">
			  		<a href="#" class="content row">
			  			<img src="../images/pic..jpg" class="house-pic"/>
			  			<div class="column">
			  				<h1>万科东里 板楼8层</h1>
			  				<span>2室2厅 123㎡</span>
			  				<div class="row">
			  					<img src="../images/location.png" class="locate"/>
			  					<p>海口市美兰区龙昆南二路海口市美兰区龙昆南二路海口市美兰区龙昆南二路</p>
			  				</div>
			  				<ul class="row">
			  					<li>满两年</li>
			  					<li>满五年</li>
			  					<li>随时可看</li>
			  				</ul>
			  			</div>
			  			<em>220万</em>
			  		</a>
			  		<a href="#" class="content row">
			  			<img src="../images/pic..jpg" class="house-pic"/>
			  			<div class="column">
			  				<h1>万科东里 板楼8层</h1>
			  				<span>2室2厅 123㎡</span>
			  				<div class="row">
			  					<img src="../images/location.png" class="locate"/>
			  					<p>海口市美兰区龙昆南二路海口市美兰区龙昆南二路海口市美兰区龙昆南二路</p>
			  				</div>
			  				<ul class="row">
			  					<li>满两年</li>
			  					<li>满五年</li>
			  					<li>随时可看</li>
			  				</ul>
			  			</div>
			  			<em>220万</em>
			  		</a>
			  		<a href="second_house.html" class="more row">查看更多</a>
			  	</div>
			  	<!--二手房-->
			  	<!--新房-->
			  	<div class="re-conbox">
			  		<a href="#" class="content row">
			  			<img src="../images/pic..jpg" class="house-pic"/>
			  			<div class="column">
			  				<h1>南海嘉园南海嘉园房</h1>
			  				<span>海口-琼山区</span>
			  				<div class="row">
			  					<img src="../images/location.png" class="locate"/>
			  					<p>海口市美兰区龙昆南二路海口市美兰区龙昆南二路海口市美兰区龙昆南二路</p>
			  				</div>
			  				<ul class="row">
			  					<li>低密度</li>
			  					<li>满五年</li>
			  					<li>养老居所</li>
			  				</ul>
			  			</div>
			  			<em>19300元/㎡</em>
			  		</a>
			  		<a href="#" class="content row">
			  			<img src="../images/pic..jpg" class="house-pic"/>
			  			<div class="column">
			  				<h1>南海嘉园南海嘉园房</h1>
			  				<span>海口-琼山区</span>
			  				<div class="row">
			  					<img src="../images/location.png" class="locate"/>
			  					<p>海口市美兰区龙昆南二路海口市美兰区龙昆南二路海口市美兰区龙昆南二路</p>
			  				</div>
			  				<ul class="row">
			  					<li>低密度</li>
			  					<li>满五年</li>
			  					<li>养老居所</li>
			  				</ul>
			  			</div>
			  			<em>19300元/㎡</em>
			  		</a>
			  		<a href="new_house.html" class="more row">查看更多</a>
			  	</div>
			  	<!--新房-->
			  	<!--租房-->
			  	<div class="re-conbox">
			  		<a href="#" class="content row">
			  			<img src="../images/pic..jpg" class="house-pic"/>
			  			<div class="column">
			  				<h1>南海嘉园南海嘉园房</h1>
			  				<span>3房2厅 98㎡</span>
			  				<div class="row">
			  					<p>海口市美兰区龙昆南二路海口市美兰区龙昆南二路海口市美兰区龙昆南二路</p>
			  				</div>
			  				<div class="row">
			  					<img src="../images/scan.png" class="scan"/>
			  					<p>120次</p>
			  				</div>
			  			</div>
			  			<em>1300元/月</em>
			  		</a>
			  		<a href="#" class="content row">
			  			<img src="../images/pic..jpg" class="house-pic"/>
			  			<div class="column">
			  				<h1>南海嘉园南海嘉园房</h1>
			  				<span>3房2厅 98㎡</span>
			  				<div class="row">
			  					<p>海口市美兰区龙昆南二路海口市美兰区龙昆南二路海口市美兰区龙昆南二路</p>
			  				</div>
			  				<div class="row">
			  					<img src="../images/scan.png" class="scan"/>
			  					<p>120次</p>
			  				</div>
			  			</div>
			  			<em>1300元/月</em>
			  		</a>
			  		<a href="rent_house.html" class="more row">查看更多</a>
			  	</div>
			  	<!--租房-->
			  </div>
			  <!--推荐结束-->
		</div>
		
		<script src="../js/jquery.min.js"></script>
		<script src="../js/wap.js"></script>
		<!--多个图标滑动-->
		<script src="../js/swiper.min.js"></script>
		<script>
			var num = $('#iconbox .swiper-slide').length;
			var view,column,group;
			if(num == 3){
				view = 3;
				column = 1;
				group = 3;
				$('.swiper-pagination').hide();
			}else if(num == 4){
				view = 4;
				column = 1;
				group = 4;
				$('.swiper-pagination').hide();
			} else if(num > 4 && num < 8 ){
				view = 4;
				column = 2;
				group = 4;
				$('.swiper-pagination').hide();
			} else if(num > 8){
				view = 4;
				column = 2;
				group = num / 2;
				$('.swiper-pagination').show();
			}
		    var swiper = new Swiper('#iconbox', {
		      slidesPerView: view,
		      slidesPerColumn: column,
		      slidesPerGroup : group,
		      slidesPerColumnFill : 'row',
		      pagination: {
		        el: '.swiper-pagination',
		      },
		    });
		    //本周靓房、新房、租房
		     var swiper = new Swiper('#hot', {
		      slidesPerView:"auto",
		      spaceBetween: 10,
		    });
		  </script>
		  <!--文字滚动-->
		  <script src="../js/scrollText.js"></script>
		  <script type="text/javascript">
			if (document.getElementById("jsfoot")) {
				var scrollup = new ScrollText("jsfoot");
				scrollup.LineHeight = 46; //单排文字滚动的高度
				scrollup.Amount = 1; //注意:子模块(LineHeight)一定要能整除Amount.
				scrollup.Delay = 40; //延时
				scrollup.Start(); //文字自动滚动
				scrollup.Direction = "up"; //默认设置为文字向上滚动
			}
		</script>
		<!--选择推荐类型-->
		<script type="text/javascript">
			$('.re-conbox').hide().eq(0).show();
			function clicktype(e){
				var n = $('.re-type a').index(e);
				$('.re-type a').removeClass('on');
				$(e).addClass('on');
				$('.re-conbox').hide().eq(n).show();
			}
		</script>
	</body>
</html>
